//
//  NSString+EOSunitHelper.m
//  Bees
//
//  Created by NowYouCanSee on 2019/1/15.
//  Copyright © 2019 xiaohan. All rights reserved.
//

#import "NSString+EOSunitHelper.h"

@implementation NSString (EOSunitHelper)
- (NSString*)getDigital{
    return [[self componentsSeparatedByString:@" "] firstObject]?:@"0.00";
}
- (NSString*)getUnit{
    return [[self componentsSeparatedByString:@" "] lastObject]?:@"UnKnow";
}
@end
